<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="initial-scale=1, user-scalable=0, minimal-ui" charset="UTF-8">
    <meta name=”apple-mobile-web-app-capable” content=”yes” />
    <meta name=”full-screen” content=”yes”>
    <meta name=”x5-fullscreen” content=”true”>
    <script src="./static/js/croods-1.3.3.min.js"></script>
    <title>岳西县教师进修学校远程培训系统</title>
  </head>
  <body>
    <div id="app">

    </div>
    <!-- built files will be auto injected -->
  <script>

      // var ua = navigator.userAgent.toLowerCase();
      // if (typeof(sessionStorage.getItem('user_info')) === 'undefined' || sessionStorage.getItem('user_info') === null) {
      //   croods.customPlugin({
      //     action: "UserPlugin.login",
      //     params: {
      //     },
      //     success: function (res) {
      //       let token = res.token;
      //       this.$api.get('/login?' + token, null, r => {
      //         console.log(r)
      //         //this.personname = r.user_info.personname
      //         //加入缓存
      //         sessionStorage.setItem('user_info', r.user_info);
      //       })
      //     },
      //     fail: function (msg) {
      //       fly.tooltip(msg);
      //       throw new Error('Calling croods interface [UserPlugin.login] fail');
      //     }
      //   });
      // }
  </script>

  </body>
</html>
